home *** CD-ROM | disk | FTP | other *** search
/ MACD 5 / MACD 5.bin / workbench / tools / czesc_2 / jm / .jmrc next >
Text File  |  1992-04-03  |  6KB  |  132 lines

  1.  
  2. #==========================================================================
  3. # JM Job Manager    - Copyright 1992, Steve Koren
  4. #
  5. # (JM is freely distributable under conditions given in the documentation.
  6. #  It is not wise to try to understand JM by browsing this file.  The
  7. #  documentation is there for a reason).
  8. #
  9. # This file is read by JM upon invocation.  It should be named ".jmrc",
  10. # and may reside in either the current directory or "S:" (preferred).
  11. # Also, make sure JM-Handler resides in "L:".
  12. #
  13. # Do not delete these comment lines - they are read fast.  Arguments
  14. # to options can be quoted to contain spaces.  Use spaces, but no tabs.
  15. # Inter-field spacing is ignored.  '#' in the first column of a line is
  16. # a comment line.  If a non-repeating option is repeated, later definitions
  17. # will override previous ones.
  18. #==========================================================================
  19.  
  20. # This option controls whether JM will keep a log of task activity.
  21. # Permitted values are "off" and "on".
  22.  
  23. LOGSWITCH       off
  24.  
  25.  
  26. #--------------------------------------------------------------------------
  27. # This is the name of the log file, when used.  The log file should be on
  28. # fast device, not a floppy.  Permitted values are valid file names.
  29.  
  30. LOGFILE         "ram:JM.log"
  31.  
  32.  
  33. #--------------------------------------------------------------------------
  34. # This is the time in seconds between updates of the task CPU percentage
  35. # fields.  The larger this number, the longer the CPU weighted average will
  36. # take to converge to the current value.  Permitted values are 1 to 10,
  37. # inclusive.
  38.  
  39. PS_CPU_TIME      5
  40.  
  41.  
  42. #--------------------------------------------------------------------------
  43. # This switch controls whether JM will manage unequal allocation of
  44. # cycles to CPU bound tasks.  See the "MANAGE" options below.  Permitted
  45. # values are "on" or "off".
  46.  
  47. MANAGESWITCH     off
  48.  
  49.  
  50. #--------------------------------------------------------------------------
  51. # This switch controls whether JM will watch new tasks and modify their
  52. # priority according to the "TASKPRI" defaults given in this file.
  53. # Permitted values are "on" or "off".
  54.  
  55. WATCHSWITCH      on
  56.  
  57.  
  58. #--------------------------------------------------------------------------
  59. # This option controls the length of one quantum when JM is managing
  60. # unequal allocation of cycles to CPU bound tasks.  This number is the
  61. # number of 10ths of a second in one quantum.  Small values produce
  62. # smoother results, but have a (slightly) higher overhead.  Permitted
  63. # values are 1 (one 10th of a second) to 50 (5 seconds).  Faster machines
  64. # can use smaller values with less overhead.
  65.  
  66. QUANTUM          5
  67.  
  68.  
  69. #--------------------------------------------------------------------------
  70. # These two parameters control the priority of "active" and "inactive"
  71. # managed tasks.  JM will allocate CPU resources unequally by changing
  72. # task priorities over time.  These are the two priorities it uses.
  73. # The MIN value must be less than MAX.  Permitted values are -128 to -1.
  74.  
  75. MIN_MANAGE_PRI   -26
  76. MAX_MANAGE_pri   -25
  77.  
  78.  
  79. #--------------------------------------------------------------------------
  80. # JM can watch tasks which start up, and change their priorities to a
  81. # default based on the task name.  Up to 64 watched task names may be
  82. # present.  Case is not significant, and pathnames are ignored.  The
  83. # second field is the task name, and the third is the priority to give
  84. # the task upon startup.  The minimum allowable priority is -128, and
  85. # the maximum is 127.  Values greater than 5 should be used with caution.
  86.  
  87. TASKPRI          "mg"              2
  88. TASKPRI          "MEmacs"          2
  89. TASKPRI          "calendar"        5
  90. TASKPRI          "calculator"      1
  91.  
  92.  
  93. #--------------------------------------------------------------------------
  94. # JM can manage unequal allocation of CPU resources to CPU bound tasks,
  95. # something not before possible on the Amiga.  These lines control this
  96. # behavior.  The second field is the task name.  The third is the number
  97. # of quantum (see QUANTUM above) which will go to this task before control
  98. # is given to another task.  For example, if "task_1" is set to 3, and
  99. # "task_2" is set to "11", there will be 14 total quantum, "task_1" will
  100. # get 3/14 of this time, and "task_2" will get 11/14 of this time.
  101. # These tasks should be CPU bound tasks only.  An editor or IFF viewer
  102. # would not be a good candidate, nor would a task which needs continous
  103. # un-interrupted use of the CPU, such as a terminal program.  The minimum
  104. # permitted quantum count is 1, and the maximum is 100.
  105.  
  106. MANAGE           "SceneryAnimator"     12
  107. MANAGE           "MandelPAUG"          8
  108. MANAGE           "longpi"              1
  109.  
  110. # *** LINES AFTER THIS POINT ARE NEW TO JM 1.1 ****************************
  111.  
  112. #--------------------------------------------------------------------------
  113. # Some methods of starting background commands (the AmigaDos RUN command,
  114. # for example) do not install the process name immediately upon invocation.
  115. # Instead, the process name is "run" or some other non-descript string
  116. # temporarily.  This will confuse JM, which normally looks for the name
  117. # immediately upon startup.  This parameter will tell JM to delay checking
  118. # the task name for N 10ths of a second after the task first appears.  This
  119. # should be made as small as possible.  A value of 5 to 10 should be fine
  120. # for most accelerated hard disk systems.  You may need to tweak this value
  121. # for slower machines.  Permitted values are 0 to 50.  Use high values only
  122. # as a last resort.
  123.  
  124. INSTALL_DELAY    5
  125.  
  126.  
  127. #--------------------------------------------------------------------------
  128. # This switch turns the JM ARexx port on or off.  Permitted values are "on"
  129. # or "off".  Default is "on".
  130.  
  131. AREXX_PORT       on
  132.